.s-swiper {
  position: relative;
  box-sizing: border-box;

  &-item {
    display: flex;
    box-sizing: border-box;
  }

  &-item__wrap {
    position: relative;
    overflow: hidden;
    flex: 1;
    box-sizing: border-box;
    transform-origin: center center;
    background: $background-color;
  }

  &-item__image {
    display: block;
    width: 100%;
    height: 100%;
  }

  &--3d {
    .s-swiper-item__wrap {
      transition: all $animation-duration-base ease-in 0s;
    }

    &.s-swiper--horizontal .s-swiper-item__wrap {
      transform: scale(.95, .9);
    }

    &.s-swiper--vertical .s-swiper-item__wrap {
      transform: scale(.9, .95);
    }

    .s-swiper-item--active .s-swiper-item__wrap {
      transform: none;
    }
  }

  &-indicators {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    pointer-events: none;

    &--horizontal {
      right: 0;
      bottom: 24rpx;
      left: 0;

      .s-swiper-indicator:nth-child(n+2) {
        margin-left: 10rpx;
      }
    }

    &--vertical {
      top: 0;
      right: 24rpx;
      bottom: 0;
      flex-direction: column;

      .s-swiper-indicator:nth-child(n+2) {
        margin-top: 10rpx;
      }
    }
  }

  &-indicator {
    transition: all $animation-duration-base ease-in 0s;
    background: rgba($white, .4);

    &--active {
      background: $white;
    }
  }

  &-indicators--default &-indicator {
    width: 12rpx;
    height: 12rpx;
    border-radius: $border-radius-max;
  }

  &-indicators--round {
    .s-swiper-indicator {
      width: 12rpx;
      height: 12rpx;
      border-radius: $border-radius-max;
    }

    &.s-swiper-indicators--horizontal .s-swiper-indicator--active {
      width: 28rpx;
    }

    &.s-swiper-indicators--vertical .s-swiper-indicator--active {
      height: 28rpx;
    }
  }

  &-indicators--rect {
    &.s-swiper-indicators--horizontal .s-swiper-indicator {
      width: 24rpx;
      height: 4rpx;
    }

    &.s-swiper-indicators--vertical .s-swiper-indicator {
      width: 4rpx;
      height: 24rpx;
    }
  }
}